package com.service.dao.enums;

import lombok.Getter;

/**
 * <dl>
 * <dt>back-end</dt>
 * <dd>Description:</dd>
 * <dd>Copyright: Copyright (C) 2015</dd>
 * <dd>Company: </dd>
 * <dd>CreateDate: 2019年10月09日</dd>
 * </dl>
 *
 * @author
 */
public class ProductEnums {

    public enum Status {

        DELETE(0),
        PUT_AWAY(1),
        TAKE_OFF(2);

        @Getter
        private Integer code;

        Status(Integer code) {
            this.code = code;
        }
    }

    public enum Type {

        HR_COMBO_POINTS(1, "积分算力套餐"),
        HR_COMBO_OTHER(2, "其他算力套餐"),
        other_gift(3, "礼包商品"),
        other_point(4, "积分商品"),
        HR_COMBO_LOCK(5, "锁仓套餐"),
        other_business(6, "服务"),
        ;

        @Getter
        private Integer code;
        @Getter
        private String name;

        Type(Integer code, String name) {
            this.code = code;
            this.name = name;
        }
    }

    public enum NeedRenew {

        NO(0, "不能续约"),
        YES(1, "可以续约"),;

        @Getter
        private Integer code;
        @Getter
        private String res;

        NeedRenew(Integer code, String res) {
            this.code = code;
            this.res = res;
        }
    }

    public enum NeedPledge {

        NO(0, "不需要质押"),
        YES(1, "需要质押"),;

        @Getter
        private Integer code;
        @Getter
        private String res;

        NeedPledge(Integer code, String res) {
            this.code = code;
            this.res = res;
        }
    }

    public enum NeedGas {

        NO(0, "不需要gas"),
        YES(1, "需要gas"),;

        @Getter
        private Integer code;
        @Getter
        private String res;

        NeedGas(Integer code, String res) {
            this.code = code;
            this.res = res;
        }
    }

    public enum NeedUsdt {

        NO(0, "不需要gas"),
        YES(1, "需要gas"),;

        @Getter
        private Integer code;
        @Getter
        private String res;

        NeedUsdt(Integer code, String res) {
            this.code = code;
            this.res = res;
        }
    }

}
